.login-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background-color: #f0f0f0;
  background-image: url('your-background-image-url.jpg'); // 请替换为您的背景图片地址
  background-size: cover; /* 背景图片覆盖 */
  padding: 20px; /* 整体内边距 */

  .top-bar {
    background-color: #007bff;
    padding-left: 100px;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 10px;

    .logo-icon {
      font-size: 40px;
      max-height: 60px; /* 限制图标最大高度 */
    }

    .logo-text {
      font-size: 24px;
      font-weight: bold;
      color: white;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
  }

  .main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 0;

    .side-image {
      width: 70vw;
      padding-right: 20px;
      border-radius: 20px;
      height: calc(100vh - 150px);
      object-fit: cover;
    }

    .auth-card {
      width: 380px;
      display: flex;
      border-radius: 10px; /* 卡片的圆角 */
      flex-direction: column;
      justify-content: space-between;
      height: calc(100vh - 150px);

      .card-icon {
        text-align: center;
        margin-bottom: 20px;
        font-size: 5rem;
        max-height: 60px; /* 限制图标的最大高度 */
      }

      .captcha-code {
        font-size: 20px;
        font-weight: bold;
        margin: 10px;
      }

      .refresh-captcha {
        margin-left: 150px;
      }

      .register-link,
      .login-link {
        margin-top: 10px;
        text-align: right;
        color: #007bff;
        cursor: pointer;
      }

      .test-accounts {
        display: flex;
        flex-direction: row; // 将按钮排列为水平行
        gap: 10px; // 按钮之间的间距

        .test-button {
          width: 100px; // 按钮宽度
          background-color: white;
          color: #007bff;
          border: 1px solid #007bff;

          &:hover {
            background-color: #007bff;
            color: white;
          }
        }
      }

      .el-form-item {
        margin-bottom: 20px;
      }

      .form-buttons {
        display: flex;
        gap: 10px;

        .el-button {
          flex: 1;
        }
      }
    }
  }

  .bottom-bar {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
  }

  // 背景图片的样式
  .side-image {
    border-radius: 20px; // 设置固定圆角
  }
}
